package com.sshc625.core {
	/**
	 * @author sshc625
	 */
	import flash.events.IEventDispatcher;
	import flash.display.Stage;
	import com.sshc625.core.IBaseObject;
	
	public interface IUIObject extends IEventDispatcher, IBaseObject {
		/**
		 * 
		 */
		function setSize( w:Number, h:Number ):void;

		/**
		 * move to the special location.
		 */
		function moveTo( x:Number, y:Number ):void;
		/**
		 * move by 
	     */
		function moveBy(x:Number, y:Number):void;

		/**
		 * in as3 the scale should be 0~1
		 */
		function setScale( scale:Number ):void;
		
		function setStage(stg:Stage):void;
		
		function getStage():Stage;
		
		/**
		 * make the object can interact with the mouse or not, if set the enabled to false, the Object
		 * can't receive the focus of the mouse.
		 */
		function set enabled( value:Boolean ):void;
		
		/**
		 * hide 
		 */
		function hide():void;
		/**
		 * display
		 */
		function display():void;
	}
}